﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddProduct.aspx.cs" Inherits="com.huigo.Admin.Web.product.AddProduct"
    MasterPageFile="~/SubMain.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link rel="stylesheet" href="/js/editor/themes/default/default.css" />

    <script charset="utf-8" src="/js/editor/kindeditor-min.js"></script>

    <script charset="utf-8" src="/js/editor/lang/zh_CN.js"></script>

    <script>
        var editor;
        KindEditor.ready(function(K) {
            editor = K.create('textarea', {
                resizeType: 1,
                allowPreviewEmoticons: false,
                allowImageUpload: false,
                items: [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'image', 'link']
            });
        });
		</script>

    <script type="text/javascript" src="/date/date.js"></script>
    <!--[if IE]><script type="text/javascript" src="/date/jquery.bgiframe.js"></script><![endif]-->
    <script type="text/javascript" src="/date/jquery.datePicker.js"></script>

    <link rel="stylesheet" type="text/css" href="/date/datePicker.css" />
    
    <script type="text/javascript">
        Date.firstDayOfWeek = 0;
        Date.format = 'yyyy-mm-dd';
        $(function() {
        $('.date-pick').datePicker({ clickInput: true, createButton: false, startDate: new Date().asString(), endDate: new Date().addDays(180).asString() });
        });
    </script>
    <form id="form1" runat="server">
    <table>
    <tr><td class="tdleft">产品种类</td><td><asp:DropDownList ID="typeList" runat="server"></asp:DropDownList></td></tr>
    <tr><td class="tdleft">保险公司</td><td><asp:DropDownList ID="companyList" runat="server"></asp:DropDownList></td></tr>
    <tr><td class="tdleft">供应商</td><td><asp:DropDownList ID="supList" runat="server"></asp:DropDownList></td></tr>
    <tr><td class="tdleft">产品名称</td><td><asp:TextBox ID="proName" runat="server" Columns="70"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品代码</td><td><asp:TextBox ID="proCode" runat="server" Columns="70"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品简称</td><td><asp:TextBox ID="proShortName" runat="server" Columns="50"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品开始时间</td><td><asp:TextBox ID="beginDate" runat="server" class="date-pick" Columns="10"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品结束时间</td><td><asp:TextBox ID="endDate" runat="server" class="date-pick" Columns="10"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品价格</td><td><asp:TextBox ID="proPrice" runat="server"></asp:TextBox></td></tr>
    <tr><td class="tdleft">结算金额</td><td><asp:TextBox ID="proSettlePrice" runat="server"></asp:TextBox></td></tr>
    <tr><td class="tdleft">可购限额</td><td><asp:TextBox ID="proQuota" runat="server" Text="0"></asp:TextBox>&nbsp;&nbsp;0为无限额</td></tr>
    <tr><td class="tdleft">承保最小年龄</td><td><asp:TextBox ID="proAgeMin" runat="server" Text="18"></asp:TextBox></td></tr>
    <tr><td class="tdleft">承保最大年龄</td><td><asp:TextBox ID="proAgeMax" runat="server" Text="65"></asp:TextBox></td></tr>
    <tr><td class="tdleft">时间说明</td><td><asp:TextBox ID="proTimeDesc" runat="server" Columns="50"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品简介</td><td><asp:TextBox runat="server" TextMode="MultiLine" ID="proIntro" style="width:700px;height:100px;visibility:hidden;"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品介绍</td><td><asp:TextBox runat="server" TextMode="MultiLine" ID="proDesc" style="width:700px;height:200px;visibility:hidden;"></asp:TextBox></td></tr>
    <tr><td class="tdleft">其他说明</td><td><asp:TextBox runat="server" TextMode="MultiLine" ID="proOthers" style="width:700px;height:100px;visibility:hidden;"></asp:TextBox></td></tr>
    <tr><td class="tdleft">产品特点</td><td><asp:TextBox runat="server" TextMode="MultiLine" ID="proFeature" style="width:700px;height:200px;visibility:hidden;"></asp:TextBox></td></tr>
    <tr><td class="tdleft">服务说明</td><td><asp:TextBox TextMode="MultiLine" ID="proServiceDesc" runat="server"  style="width:700px;height:200px;visibility:hidden;"></asp:TextBox></td></tr>
    <tr><td class="tdleft">状态</td><td><asp:RadioButtonList runat="server" ID="rdoStatus" RepeatDirection="Horizontal"><asp:ListItem Selected="True" Text="有效" Value="1"></asp:ListItem><asp:ListItem Text="无效" Value="0"></asp:ListItem></asp:RadioButtonList></td></tr>
    <tr><th colspan="2"><asp:Button runat="server" ID="btnSave" OnClick="btnSave_Click" Text="保存" /><asp:TextBox Visible="false" runat="server" ID="flgModify" Text="0"></asp:TextBox></th></table>
    </form>
</asp:Content>
